package com.xueyi.aixihu.entity.generatedMapper;

import com.xueyi.aixihu.entity.po.DtAdvert;
import com.xueyi.aixihu.entity.po.DtAdvertExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtAdvertMapper {
    long countByExample(DtAdvertExample example);

    int deleteByExample(DtAdvertExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtAdvert record);

    int insertSelective(DtAdvert record);

    List<DtAdvert> selectByExampleWithBLOBs(DtAdvertExample example);

    List<DtAdvert> selectByExample(DtAdvertExample example);

    DtAdvert selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtAdvert record, @Param("example") DtAdvertExample example);

    int updateByExampleWithBLOBs(@Param("record") DtAdvert record, @Param("example") DtAdvertExample example);

    int updateByExample(@Param("record") DtAdvert record, @Param("example") DtAdvertExample example);

    int updateByPrimaryKeySelective(DtAdvert record);

    int updateByPrimaryKeyWithBLOBs(DtAdvert record);

    int updateByPrimaryKey(DtAdvert record);
}